#ifndef MYLOG_H_INCLUDED
#define MYLOG_H_INCLUDED

#include <string>


class myLog
{
    public:
        myLog(std::string);
        ~myLog();
        void writelog(std::string);
        //void displaylog(std::string);
        static void displaylog(std::string);
    private:
        FILE *fp;
        std::string getDateTime(int);
        std::string strCallerName;
        void setCallerName(std::string);
        void init();
    protected:
};


#endif // MYLOG_H_INCLUDED
